package com.hellpro.lolbox.acticity.view;


import android.content.Context;
import android.widget.Button;
import android.widget.EditText;

import com.hellpro.lolbox.R;
import com.hellpro.lolbox.acticity.presenter.MainActivityPresenter;
import com.hellpro.lolbox.base.BaseFragment;

import butterknife.BindView;

/**
 * 类描述:
 * 创建人:阿犇
 * 创建时间:2016/10/21
 * 备注:口令红包界面
 */
public class CommandFragment extends BaseFragment implements ICommandFragment{


    @BindView(R.id.command_et_command)
    EditText commandEtCommand;
    @BindView(R.id.command_et_count)
    EditText commandEtCount;
    @BindView(R.id.command_et_yuanbao)
    EditText commandEtYuanbao;
    @BindView(R.id.command_btn_pay)
    Button commandBtnPay;

    @Override
    public void initView() {
        MainActivityPresenter presenter = new MainActivityPresenter(this);
        presenter.setPayRed();
    }

    @Override
    public int getLayoutId() {
        return R.layout.fragment_command;
    }

    @Override
    public EditText getCommand() {
        return commandEtCommand;
    }

    @Override
    public EditText getCount() {
        return commandEtCount;
    }

    @Override
    public EditText getYanBao() {
        return commandEtYuanbao;
    }

    @Override
    public Button getBtnPay() {
        return commandBtnPay;
    }

    @Override
    public Context getMainContext() {
        return getActivity();
    }

}
